package it.tcon.xbeedriver;

import com.rapplogic.xbee.api.XBee;

public abstract class XBeeNodeService {
	
	private String name;
	
	public XBeeNodeService(){
		this("default service");
	}
	public XBeeNodeService(String name){
		this.setServiceName(name);
	}
	public abstract void setNodeCom(XBeeNode node,XBee xbee);
	
	public void setServiceName(String name){
		this.name = name;
	}
	public String getServiceName(){
		return this.name;
	}
	/*
	public void setServiceType(){
		//TODO setServiceType()
	}
	
	public void getServiceType(){
		//TODO getServiceType()
	}
	*/
	public abstract void setService();
	
	public abstract String getService();
}
